﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StructureMap;
using Universum.Infrastructure.Persistence;

namespace Universum.Integration.Tests.Bootstrap
{
	[TestClass]
	public class BoostrapTests : With_structuremap_bootstrap_context
	{
		[TestMethod]
		[DeploymentItem(@"D:\_2009_\Universum\trunk\Proiect\Tests\Integration\Universum.Integration.Tests\StructureMap.config.xml")]
		public void should_return_a_Db4oUnitOfWork()
		{
			ObjectFactory.GetInstance<IUnitOfWork>().should_be_of_type<Db4oUnitOfWork>();
		}
	}
}
